/**
 * Created by Administrator on 2025/5/28.
 * */
#include "MyDeviceWriter.h"

BaseObject *createMyDeviceWriter() {
    return new MyDeviceWriter();
}

void destroyMyDeviceWriter(BaseObject *p) {
    SAFE_DELETE(p);
}

MyDeviceWriter::~MyDeviceWriter() {
}

int64_t MyDeviceWriter::onWrite(char *buffer, int64_t len) {
    /** write code here. */

return len;
}
